package com.sjh.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sjh.mapper.IBag_mapper;
import com.sjh.vo.Bis_bag_record;
import com.sjh.vo.Bis_beauty_record;
import com.sjh.vo.Bis_bisiness_order;
import com.sjh.vo.Bis_nurse_bag;
import com.sjh.vo.Bis_nurse_project;
import com.sjh.vo.Bis_project_record;
@Service
public class Bag_service implements IBag_service{
	@Autowired
	private IBag_mapper mapper;
	@Override
	public List<Map> bagselect(Bis_nurse_bag bag) {
		
		return mapper.bagselect(bag);
	}
	@Override
	public void addbag(Bis_nurse_bag bag) {
		mapper.addbag(bag);
		
	}
	@Override
	public void bagdel(String bag_id) {
		mapper.bagdel(bag_id);
		
	}
	@Override
	public Bis_nurse_bag bagupdByid(String bag_id) {
		
		return mapper.bagupdByid(bag_id);
	}
	@Override
	public void bagupdate(Bis_nurse_bag bag) {
		mapper.bagupdate(bag);
	}
	

	@Override
	public List<Map> qtbagselect(Bis_nurse_bag bag) {
		
		return mapper.qtbagselect(bag);
	}
	@Override
	public Bis_nurse_bag qtbagselectByID(String bag_id) {
		
		return mapper.qtbagselectByID(bag_id);
	}
	

	/**��ɭ��**/
	//csy��ʾ�����ϸ��Ϣ
	@Override
	public List<Bis_nurse_bag> selectBis_nurse_bag() {
		return mapper.selectBis_nurse_bag();
	}
	
	//csy��ʾ�����ϸ��Ϣ ����id
	@Override
	public Bis_nurse_bag getBis_nurse_bagByid(String bag_id) {
		return mapper.getBis_nurse_bagByid(bag_id);
	}
	@Override
	public List<Map> addhuli(Bis_nurse_project project) {
		
		return mapper.addhuli(project);
	}
	
	@Override
	public Bis_nurse_project selbyid(String project_id) {
		
		return mapper.selbyid(project_id);
	}
	
	@Override
	public void delecthuli(String project_id) {
		mapper.delecthuli(project_id);
		
	}
	
	//csy��ʾ�ҵ������ϸ��Ϣ
	@Override
	public List<Bis_bag_record> selectBis_bag_record(String custom_user_id) {
		return mapper.selectBis_bag_record(custom_user_id);
	}
	//csy��ʾ�����ϸ��Ϣ
	@Override
	public Bis_bag_record getBis_bag_recordid(String bag_id) {
		return mapper.getBis_bag_recordid(bag_id);
	}
	
	//csy�鿴��������
	@Override
	public List<Bis_bisiness_order> selectBis_bisiness_order(Map map) {
		return mapper.selectBis_bisiness_order(map);
	}
	
	//csy��ƷԤԼ֧���Ժ��û����ĵ���ֵ��Ҫ������ֵ�ҵ���ˮ��
	@Override
	public List<Bis_beauty_record> getBis_beauty_recordByid(String custom_user_id) {
		return mapper.getBis_beauty_recordByid(custom_user_id);
	}
	
	//csy��ʾ��Ʒ��ϸ��Ϣ
	@Override
	public Bis_nurse_project getBis_nurse_projectId(String project_id) {
		return mapper.getBis_nurse_projectId(project_id);
	}

	//csy已拆礼包
	@Override
	public List<Bis_project_record> listBis_project_record(Map map) {
		
		return mapper.listBis_project_record(map);
	}
	@Override
	public List<Bis_bisiness_order> selectBis_bisinesss_order(Map map) {
		
		return mapper.selectBis_bisiness_order(map);
	}
	
	
}
